home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d21
/
dvglue10.arc
/
TVKOPEN.C
< prev
next >
Wrap
C/C++ Source or Header
|
1988-08-13
|
1KB
|
29 lines
/*================================================*/
/* TVKOPEN.C */
/* */
/* (c) Copyright 1988 Ralf Brown */
/* All Rights Reserved */
/* May be freely copied for noncommercial use, */
/* provided that this copyright notice remains */
/* intact and any changes are indicated in the */
/* comment blocks preceding functions */
/*================================================*/
#include "tvapi.h"
/*================================================*/
/* TVkbd_open attach keyboard to a window */
/* Ralf Brown 4/17/88 */
/*================================================*/
void pascal TVkbd_open(OBJECT kbd,OBJECT win)
{
PARMLIST1 p ;
p.num_args = 1 ;
p.arg[0] = (DWORD) (win?win:TVmywindow()) ;
TVsendmsg(OPEN_MSG, (kbd)?TOS:KEYME, kbd, (PARMLIST *)&p) ;
}
/* End of TVKOPEN.C */